<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>saip.usuario.models.Usuario</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="saip.usuario.models-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;saip ::
        Package&nbsp;usuario ::
        <a href="saip.usuario.models-module.html">Module&nbsp;models</a> ::
        Class&nbsp;Usuario
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="saip.usuario.models.Usuario-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Usuario</h1><p class="nomargin-top"><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario">source&nbsp;code</a></span></p>
<pre class="base-tree">
django.db.models.Model --+
                         |
                        <strong class="uidshort">Usuario</strong>
</pre>

<hr />
<p>Clase para crear la tabla Rol con sus respectivos campos. Los usuarios
  dentro del sistema de autenticacion de Django estan representados por 
  este modelo. Nombre de usuario y clave son necesarios. Los demas campos 
  son opcionales.</p>

<!-- ==================== NESTED CLASSES ==================== -->
<a name="section-NestedClasses"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Nested Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-NestedClasses"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario.Meta-class.html" class="summary-name">Meta</a><br />
      Subclase para asignar el nombre del modelo en singular y plural.
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__unicode__"></a><span class="summary-sig-name">__unicode__</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.__unicode__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_absolute_url"></a><span class="summary-sig-name">get_absolute_url</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.get_absolute_url">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="saip.usuario.models.Usuario-class.html#is_anonymous" class="summary-sig-name">is_anonymous</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Always returns False.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.is_anonymous">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="saip.usuario.models.Usuario-class.html#is_authenticated" class="summary-sig-name">is_authenticated</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Siempre devolvera True.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.is_authenticated">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_full_name"></a><span class="summary-sig-name">get_full_name</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Returns the first_name plus the last_name, with a space in between.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.get_full_name">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_password"></a><span class="summary-sig-name">set_password</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">raw_password</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.set_password">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="saip.usuario.models.Usuario-class.html#check_password" class="summary-sig-name">check_password</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">raw_password</span>)</span><br />
      Devuelve un booleano si el raw_password era correcto.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.check_password">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_unusable_password"></a><span class="summary-sig-name">set_unusable_password</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.set_unusable_password">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="has_usable_password"></a><span class="summary-sig-name">has_usable_password</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.has_usable_password">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="saip.usuario.models.Usuario-class.html#get_group_permissions" class="summary-sig-name">get_group_permissions</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Devuelve una lista de cadenas de permisos que el usuario tiene a 
      traves de sus grupos.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.get_group_permissions">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_all_permissions"></a><span class="summary-sig-name">get_all_permissions</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.get_all_permissions">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="saip.usuario.models.Usuario-class.html#has_perm" class="summary-sig-name">has_perm</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">perm</span>)</span><br />
      Devuelve True si el usuario tiene el permiso especificado.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.has_perm">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="saip.usuario.models.Usuario-class.html#has_perms" class="summary-sig-name">has_perms</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">perm_list</span>)</span><br />
      Devuelve True si el usuario tiene cada uno de los permisos 
      especificados.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.has_perms">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="saip.usuario.models.Usuario-class.html#has_module_perms" class="summary-sig-name">has_module_perms</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">app_label</span>)</span><br />
      Returns True if the user has any permissions in the given app label.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.has_module_perms">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_and_delete_messages"></a><span class="summary-sig-name">get_and_delete_messages</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.get_and_delete_messages">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="email_user"></a><span class="summary-sig-name">email_user</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">subject</span>,
        <span class="summary-sig-arg">message</span>,
        <span class="summary-sig-arg">from_email</span>=<span class="summary-sig-default">None</span>)</span><br />
      Sends an e-mail to this User.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.email_user">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="saip.usuario.models.Usuario-class.html#get_profile" class="summary-sig-name">get_profile</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Devuelve el perfil sitio-especifico de este usuario.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.get_profile">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario-class.html#username" class="summary-name">username</a> = <code title="models.CharField(_('username'), max_length= 30, unique= True, help_tex\
t= _(&quot;Required. 30 characters or fewer. Alphanumeric characters only (\
letters, digits and underscores).&quot;))">models.CharField(_('username'), max_length= 30, uni<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario-class.html#nombre" class="summary-name">nombre</a> = <code title="models.CharField(_('nombre'), max_length= 30, blank= True)">models.CharField(_('nombre'), max_length= 30, blank= <code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario-class.html#apellido" class="summary-name">apellido</a> = <code title="models.CharField(_('last name'), max_length= 30, blank= True)">models.CharField(_('last name'), max_length= 30, bl<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="email"></a><span class="summary-name">email</span> = <code title="models.EmailField(_('e-mail'), blank= True)">models.EmailField(_('e-mail'), blank= True)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario-class.html#password" class="summary-name">password</a> = <code title="models.CharField(_('password'), max_length= 128, help_text= _(&quot;Use '[a\
lgo]$[salt]$[hexdigest]' or use the &lt;a href=\&quot;password/\&quot;&gt;change passw\
ord form&lt;/a&gt;.&quot;))">models.CharField(_('password'), max_length= 128, he<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario-class.html#direccion" class="summary-name">direccion</a> = <code title="models.CharField(_('direccion'), max_length= 100, blank= True)">models.CharField(_('direccion'), max_length= 100, <code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario-class.html#telefono" class="summary-name">telefono</a> = <code title="models.CharField(_('telefono'), max_length= 15, blank= True)">models.CharField(_('telefono'), max_length= 15, bla<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario-class.html#is_active" class="summary-name">is_active</a> = <code title="models.BooleanField(_('active'), default= True, help_text= _(&quot;Designat\
es whether this user should be treated as active. Unselect this instea\
d of deleting accounts.&quot;))">models.BooleanField(_('active'), default= True, he<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="saip.usuario.models.Usuario-class.html#usuario_rol" class="summary-name">usuario_rol</a> = <code title="models.ManyToManyField(Rol, through= 'UsRolPro', verbose_name= _('usua\
rio rol'), blank= True)">models.ManyToManyField(Rol, through= 'UsRolPro',<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="objects"></a><span class="summary-name">objects</span> = <code title="UserManager()">UserManager()</code>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="is_anonymous"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">is_anonymous</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.is_anonymous">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Always returns False. This is a way of comparing User objects to 
  anonymous users.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="is_authenticated"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">is_authenticated</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.is_authenticated">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Siempre devolvera True. Esta es una manera de saber si el usuario se 
  ha autenticado en las plantillas. *** Always return True. This is a way 
  to tell if the user has been authenticated in templates.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="check_password"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">check_password</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">raw_password</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.check_password">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Devuelve un booleano si el raw_password era correcto. Maneja formatos 
  de codificacion en segundo plano.</p>
  <p>Returns a boolean of whether the raw_password was correct. Handles 
  encryption formats behind the scenes.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="get_group_permissions"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_group_permissions</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.get_group_permissions">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Devuelve una lista de cadenas de permisos que el usuario tiene a 
  traves de sus grupos. Este metodo consulta todos los backends de 
  autenticacion disponibles.</p>
  <p>Returns a list of permission strings that this user has through 
  his/her groups. This method queries all available auth backends.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="has_perm"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">has_perm</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">perm</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.has_perm">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Devuelve True si el usuario tiene el permiso especificado. Este metodo
  consulta todos los backends de autenticacion disponibles, pero regresa 
  inmediatamente si cualquier backend devuelve True. Asi, un usuario que 
  tiene permiso de una sola autenticacion se supone que tiene permiso en 
  general.</p>
  <p>Returns True if the user has the specified permission. This method 
  queries all available auth backends, but returns immediately if any 
  backend returns True. Thus, a user who has permission from a single auth 
  backend is assumed to have permission in general.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="has_perms"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">has_perms</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">perm_list</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.has_perms">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Devuelve True si el usuario tiene cada uno de los permisos 
  especificados. *** Returns True if the user has each of the specified 
  permissions.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="has_module_perms"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">has_module_perms</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">app_label</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.has_module_perms">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Returns True if the user has any permissions in the given app label. 
  Uses pretty much the same logic as has_perm, above.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="get_profile"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_profile</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="saip.usuario.models-pysrc.html#Usuario.get_profile">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Devuelve el perfil sitio-especifico de este usuario. Eleva 
  SiteProfileNotAvailable si este sitio no permite los perfiles.</p>
  <p>Returns site-specific profile for this user. Raises 
  SiteProfileNotAvailable if this site does not allow profiles.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
<a name="section-ClassVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="username"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">username</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.CharField(_('username'), max_length= 30, unique= True, help_tex<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
t= _(&quot;Required. 30 characters or fewer. Alphanumeric characters only (<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
letters, digits and underscores).&quot;))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="nombre"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">nombre</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.CharField(_('nombre'), max_length= 30, blank= True)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="apellido"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">apellido</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.CharField(_('last name'), max_length= 30, blank= True)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="password"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">password</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.CharField(_('password'), max_length= 128, help_text= _(&quot;Use '[a<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
lgo]$[salt]$[hexdigest]' or use the &lt;a href=\&quot;password/\&quot;&gt;change passw<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
ord form&lt;/a&gt;.&quot;))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="direccion"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">direccion</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.CharField(_('direccion'), max_length= 100, blank= True)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="telefono"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">telefono</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.CharField(_('telefono'), max_length= 15, blank= True)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="is_active"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">is_active</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.BooleanField(_('active'), default= True, help_text= _(&quot;Designat<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
es whether this user should be treated as active. Unselect this instea<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
d of deleting accounts.&quot;))
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="usuario_rol"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">usuario_rol</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.ManyToManyField(Rol, through= 'UsRolPro', verbose_name= _('usua<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
rio rol'), blank= True)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="saip.usuario.models-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Fri Jul 02 20:01:05 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
